<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/3/3
 * Time: 8:44
 */
require_once(dirname(__FILE__) . '/include/config.inc.php');
require_once(dirname(__FILE__) . '/pinyin.php');

$diyname = Pinyin::get("李英浩");

echo $diyname;


$channid_arr = $dosql->GetOne("select `id` from fa_cms_channel where `name`='调砂紫泥'  ");
var_dump($channid_arr);
if (is_array($channid_arr) && isset($channid_arr['id'])) {
    echo "123";
} else {
    echo "不存在";
}